<!--
 * @Description: 
 * @Author: lxf
 * @Date: 2020-11-23 10:25:30
 * @LastEditors: lxf
 * @LastEditTime: 2020-11-23 11:36:59
 * @FilePath: \Teach1\baidu.html
 * @依赖库: 
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>百度一下</title>
    <style type="text/css">
        body {
            text-align: center;
        }

        .input1 {
            width: 680px;
            height: 48px;
            margin:10px none;
            padding: 0px;
            border: 2px gainsboro solid;
            border-top-left-radius: 10px;
            border-bottom-left-radius: 10px;
        }
        .input1:focus{
            outline: none;
        }

        .input2{
            width: 135px;
            height: 55px;
            margin: 10px none;
            padding: 0px;
            color: snow;
            background-color: #4e6ef2;
            border: none;
            border-top-right-radius: 10px;
            border-bottom-right-radius: 10px;
            position: relative;
            left: -5px;
        }

        .input2:link{ 
            background-color: #4e6ef2;
            border-radius: 5px;
        }

        .input2:visited{
            border: none;
            border-radius: 5px;
        }

        .input2:hover{
            background-color: #46d962;
        }

        .input2:active{
            border: none;
            background-color: #4662d9;
            border-top-right-radius: 10px;
            border-bottom-right-radius: 10px;
        }
        .input2:focus{
            outline: none;
            border-top-right-radius: 10px;
            border-bottom-right-radius: 10px;
        }

    </style>
</head>
<body>
    <img src="img/baidu.png"/>
    <div>
        <form action="https://www.baidu.com/s" method="get" target="_blank">
            <input class="input1" type="text" name="wd">
            <input class="input2" type="submit" value="百度一下">
        </form>
        
    </div>
</body>
</html>